public class Date {

    public int year;
    public int month;
    public int day;

    /*public void setDay(int y, int m, int d){
        year = y;
        month = m;
        day = d;
    }*/
    public void setDay(int year, int month, int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }

    public void printDate() {
        System.out.println(year + "年" + month + "月" + day + "日");
    }
}
